package com.pro.common.service.websocket.mq.model;

import com.pro.common.service.websocket.enums.EnumWsBizType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
@Schema(description = "ws通知项")
public class BaseWebsocketNotifyData implements  Serializable {
    @Serial
    private static final long serialVersionUID = 3144323523123456058L;
    @Schema(description = "用户Id")
    private Long userId;
    // 调用方信息
    @Schema(description = "业务服务")
    private String bizServiceName;

    @Schema(description = "业务类型")
    private EnumWsBizType bizType = EnumWsBizType.KEEP_ALIVE;

    @Schema(description = "业务ID")
    private Long bizId;

    @Schema(description = "业务附带信息")
    private String bizAttachment;
}
